Optical information reader and optical information reading method

ABSTRACT

A tabletop type optical information reader has a projection unit, a trigger unit, a decode unit, a data processing unit, a memory unit, and a switch unit. The projection unit projects light to a read object. The trigger unit instructs the projection unit for projecting light. The decode unit receives reflected light from the read object and decodes information contained in the read object. The data processing unit processes the decoded data provided by the decode unit. The memory unit stores at least one function that can be set in the optical information reader. The switch unit calls the function to be set.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to an optical information readerand an optical information reading method. For example, the presentinvention is used for a tabletop type or hand-held type bar code readercomprising a switch to which any of a plurality of functions can beassigned.

[0003] 2. Description of the Related Art

[0004] Nowadays, a bar code is used in application of identify acommodity code, etc. The bar code comprises contiguous lines differentin width so that it can represent alphanumerics by bar and blankportions. The bar code, for example, represents a universal productcode. To read such a bar code, a bar code scanning device is used as anoptical information reader. The bar code scanning device generally iscalled a bar code reader, a bar code scanner, etc.

[0005] The bar code scanning device generally comprises a configurationas shown in FIG. 6. The bar code scanning device shown in FIG. 6comprises a bar code read section 1 and a signal processing circuit 2.The bar code scanning device scans a bar code label 3 with a bar codeprinted through the bar code read section 1, detects reflected light,and reads information of the bar code by the signal processing circuit2.

[0006] In FIG. 6, a laser projection circuit 4 projects light such aslaser light to a galvanometer mirror 5 and reflected light on thegalvanometer mirror 5 is scanned over the bar code. The bar and blank(monochrome) portions making up the bar code differ in reflectivity. Theblank portion provides a large reflected light amount. The bar portionprovides a small reflected light amount. The reflected lights aregathered on a light gathering mirror 6 through the galvanometer mirror5. The gathered reflected lights are taken out as an analog signal intime series through a band-pass filter 7 and a photodiode serving as alight reception element 8. The analog signal is sent to the signalprocessing circuit 2.

[0007] The signal processing circuit 2 has a light reception circuit 9,an AC coupling circuit 14, an amplification circuit 10, a filter circuit11, a binarization circuit 12, and a decode circuit 13. The lightreception circuit 9 receives a signal from the bar code read section 1.The AC coupling circuit 14 allows the AC component of output of thelight reception circuit 9 to pass through. The amplification circuit 10amplifies the output signal of the AC component provided by the ACcoupling circuit 14. The filter circuit 11 filters the amplified signal.The binarization circuit 12 binaries the filtered signal. The decodecircuit 13 decodes the information recorded on the bar code. The decodecircuit 13 generally is implemented as a CPU, etc. The digital signalbinarized by the binarization circuit 12 is sent to the CPU, which thendecodes the signal by a program according to an algorism.

[0008] The bar code readers generally can be classified into fixed-type,handy terminal type, and tabletop type according to the shape of the barcode reader.

Fixed-type Bar Code Reader

[0009] The fixed-type bar code reader is used with a factory productionline, in a machine, etc. It is disposed on a side of a conveyor, a wall,or the like for use so that the read area of the bar code reader isaimed at a bar code put on a transported object on the production line.The bar code reader portion of this type has a function of decoding barcode information and transmitting the decoded data to a host computer.In other words, processing for the decoded data generally is performedin the host computer and the bar code reader portion does not have sucha function.

Handy Terminal Type Bar Code Reader

[0010] The handy terminal type bar code reader is used for commoditymanagement, inspection, etc., in a warehouse. It is assumed that theuser carries the handy terminal type bar code reader and uses it in thefield. Thus, the handy terminal type is convenient for carrying andfurther the terminal itself comprises a processing function of acommodity management program, etc., responsive to the use purpose. Thatis, unlike the fixed-type bar code reader, the handy terminal type barcode reader completes operation solely.

Tabletop Type Bar Code Reader

[0011] The tabletop type bar code reader is used for POS management,etc., at a checkout counter of a convenience store. The bar code readerof this type transmits the data to a host computer. Since the bar codereader is shaped like a gun, it is sometimes called a gun-type bar codereader. Like the handy terminal type bar code reader, the tabletop typebar code reader also has a compact shape easily handled by the user. Thehandy terminal type and tabletop type bar code readers differ in thatthe handy terminal type bar code reader completes operation solely;whereas the tabletop type bar code reader operates in conjunction withthe host computer. The read portion of the tabletop type bar code readergenerally has only a function of decoding a bar code. That is, it canalso be grasped as a handy terminal type bar code reader comprising theread portion of the fixed-type bar code reader

[0012] The appearance of the tabletop type bar code reader is, forexample, as shown in FIGS. 7A-C. The tabletop type bar code reader isprovided with a trigger switch 17. Generally, a laser is projected whilethe trigger switch 17 is turned on. The user projects a laser to thetarget bar code label by operating the trigger switch 17 and reflectedlight is read into the bar code reader. In addition to the triggerswitch, the tabletop type bar code reader is sometimes provided with-aswitch to which a specific function is assigned.

[0013] However, the tabletop type bar code reader in the related art hasa switch to which a specific function is previously assigned, and theuser cannot assign any desired function to the switch. For example, thetabletop type bar code reader shown in FIGS. 7A-C is provided withswitches in addition to the trigger switch 17, but predeterminedfunctions are previously fixed to the switches and cannot be changed toany desired function by the user.

[0014] On the other hand, in recent years, because of an increase indemand for bar codes, making a bar code reader multi-function has alsobeen required. In response to this, various functions are added to thebar code reader, but the operation of each function becomes complicatedand usability is impaired. If the user needs to execute a plurality ofsteps to call a function, he or she interrupts the work and needs tocheck the procedure on the manual or keep the procedure in mind; this isa cumbersome task. To facilitate calling a function, a plurality ofswitches can be provided in a one-to-one correspondence with thefunctions; however, in doing so, the number of the switches isincreased, resulting in a rise in manufacturing costs. Further, as thenumber of the switches is increased, the user confuses the switches andmay operate the switches erroneously, the operability being worsened. Ifthe bar code reader is made multifunctional, only some of the functionswhich are required for each user can be assigned to the switches;however, the frequently used functions or the functions to be easilycalled are limited.

[0015] Essentially, the required functions vary depending on the usestate of the bar code reader and the use mode of the user. Themanufacturer of the bar code reader previously assigns the seeminglyfrequently used functions to switches, but it is impossible to estimatediverse use modes and completely cover the use modes. If it is madepossible for the user to specify and change function assignments to theswitches as desired, an ease-of-use environment as setting responsive tothe use mode can be provided for the user.

SUMMARY OF THE INVENTION

[0016] The invention has been developed to meet such needs of the user.It is a main object of the invention to provide an optical informationreader comprising a switch to which the user can assign any desiredfunction and an optical information reading method.

[0017] In order to accomplish the object above, the following means areadopted. According to the present invention, there is provided anoptical information reader of a tabletop type. The optical informationreader comprises a projection unit for projecting light to a readobject, a trigger unit for instructing the projection unit forprojecting light, a decode unit for receiving reflected light from theread object and decoding information contained in the read object, amemory unit for storing at least one preset function that can be set inthe optical information reader, a switch unit for calling the functionto be set from the memory unit, and a data processing unit forperforming processing corresponding to the function to be set called bythe switch unit. The data processing unit may process the decoded dataprovided by the decode unit on the basis of the processing correspondingto the function to be set.

[0018] The optical information reader can be provided with at least oneswitch for calling the function that can be executed by the opticalinformation reader as the switch unit aside from a trigger switch foroperating the trigger unit, etc. The function assigned to the switch canbe changed as desired by the user. Stored function setting can bechanged to any desired setting by reading a setting read object, forexample.

[0019] In the optical information reader, it is preferable that thestored function in the memory unit is at least one operation mode fordetermining an operation state of the optical information reader.

[0020] In the optical information reader, a plurality of operation modesare preset and one of them can be called whenever necessary.

[0021] Further, in the optical information reader, it is preferable thateach of the operation modes as the functions can be set are selectableoperation functions in the memory unit and the selected operationfunction is executed by the switch unit.

[0022] With the optical information reader, from among a plurality ofoperation functions, a different operation function can be assignedcorresponding to each operation mode and the assigned operation functioncan be changed in response to the used operation mode.

[0023] Moreover, in the optical information reader, it is alsopreferable that the switch unit can distinguish the execution of the setoperation function from transition of said operation mode.

[0024] For example, operation mode transition and operation functionexecution can be distinguished from each other in response to the ONtime of the switch unit.

[0025] Further, to achieve the object of the present invention, there isprovided an optical information reading method using an opticalinformation reader. The optical information reading method comprisesselecting at least one function that can be set in the opticalinformation reader and storing the selected function in a memory unit,projecting light to a read object from a projection unit in response toan instruction of a trigger unit, receiving reflected light from theread object and decoding information contained in the read object,calling the function to be set from the memory unit by a switch unit,and performing processing corresponding to the function to be set calledby the switch unit. The decoded data is processed on the basis of theprocessing corresponding to the function to be set.

BRIEF DESCRIPTION OF THE DRAWINGS

[0026]FIG. 1 is a block diagram to show the configuration of a tabletoptype bar code scanning device according to an embodiment of theinvention;

[0027]FIG. 2 is a flowchart to show how functions are switched dependingon the time of pressing a function switch in the bar code scanningdevice in FIG. 1;

[0028]FIG. 3 is a flowchart continued from the flowchart in FIG. 2;

[0029]FIG. 4 is a flowchart continued from the flowchart in FIG. 2;

[0030]FIG. 5 is a flowchart continued from the flowchart in FIG. 4;

[0031]FIG. 6 is a block diagram to show the configuration of a bar codescanning device;

[0032] FIGS. 7A-C are schematic drawings to show the appearance of agun-type tabletop type and/or hand-held type bar code reader;

[0033]FIG. 8 is a schematic diagram to show one preferred memory unitshown in FIG. 1; and

[0034]FIG. 9 is a comparison table to show selectable operationfunctions relationship with each of all operation modes.

DETAILED DESCRIPTION OF THE INVENTION

[0035] Referring now to the accompanying drawings, there are shownpreferred embodiments of the invention. However, the embodimentsdescribed later exemplify optical information readers for embodying thetechnical thought of the invention and the invention is not limited tothe optical information readers described later. The members as definedin claims are not limited to the members of the embodiments. The size ofeach member, the positioning relationship, and the like shown on theaccompanying drawings may be exaggerated for purposes of illustration.

[0036] In the following embodiments, an example of applying to a barcode scanning device will be discussed as an example of embodying anoptical information reader of the invention. However, the embodiments ofthe invention are not limited to bar code scanning devices. For example,the embodiments can also be used for an OCR (Optical Character Reader),etc., for recognizing two-dimensional code and text. The term “barcode”in this specification is used to mean not only a one-dimensional barcode, but also a two-dimensional code (data symbol).

[0037]FIG. 1 is a block diagram to show a configuration example of atabletop type bar code scanning device according to the presentinvention. The bar code scanning device main unit shown in FIG. 1comprises a bar code read section land a data processing unit 15. Thebar code read section 1 comprises a light projection unit 16, a lightreception unit 29, an amplification unit 30, a filter unit 31, and abinarization unit 32. The light projection unit 16 projects light to abar code label 3 to be read. The light reception unit 29 receivesreflected light from the bar code label. The amplification unit 30amplifies an electric signal provided by the light reception unit 29.The filter unit 31 cuts an unnecessary signal such as high-frequencynoise from the amplified signal provided by the amplification unit 30.The binarization unit 32 converts (binarizes) the analog signal providedfrom the filter unit 31 into a digital signal. The data processing unit15 performs necessary processing for the digital signal output from thebinarization unit 32. The date processing unit 15 performs, for example,decoding the binarized data, processing corresponding to the desiredfunction preset by the user as described below, etc.

[0038] The bar code scanning device main unit is connected to a hostcomputer in a state in which data communications with the host computercan be conducted. The bar code scanning device transmits the decodeddata to the host computer. The data communications may be one-waycommunications of transmitting data from the bar code scanning devicemain unit to the host computer. However, as two-way communications,setting change and operation instructions may also be transmitted fromthe host computer to the bar code scanning device main unit. The hostcomputer comprises a host data processing unit 41, a data retention unit42, and a data display unit 43. The host data processing unit 41receives data from the bar code scanning device main unit and conductsdata communications with the bar code scanning device main unit asrequired. The data retention unit 42 retains the processed data. Thedata display unit 43 displays the data on the outside.

[0039] The bar code scanning device main unit further comprises a memoryunit 33 connected to the data processing unit 15 and a switch unit 34.The memory unit 33 causes the data processing unit 15 to perform varioustypes of processing. The memory unit 33 stores several functions thatthe user desires the bar code scanning device main unit to execute orseveral processing required for providing the functions. The functionsor the processing are switched by the switch unit 34. Each of theabove-mentioned functions is each of operation modes described the belowaccording with FIG. 9. The user presets any desired function in the barcode scanning device main unit. Further, each of operational functionsis set to each of the operation modes. The function or the necessaryprocessing corresponding to the function preset by the user is retainedin the memory unit 33. In the example in FIG. 1, the setup operationmodes by the user are retained in a unit A, a unit B, and a unit C. Asthe user operates a function switch 25 (shown in FIG. 7), the switchunit 34 is switched for sending a command stored in the memory unit 33to the data processing unit 15. The necessary processing is executed inresponse to the command and the setup function is provided. Further, anoperation function will be described the below, which is providedcorresponding to each of the operation modes. In case shown in FIG. 1,the unit A, unit B and unit C store the selected operation modesrespectively. The user selects desired three operation modes from all ofthe operation modes and each of the selected three operation modes isprovided to the unit A, unit B and unit C respectively by the selecting.Further, each of the selected modes stored in the unit A, unit B andunit C is provided each of desired operation functions. Thus, thedesired operation functions is stored into the memory unit 33 withlinkage with the selected operation modes. The operation mode storedinto the memory unit 33 is switched to the other mode by the switch unit34. Further, the switch unit 34 also has other function to read out theselected operation function corresponding to the selected operationmode. Thus, the switch unit 34 has two kinds roles as switching from oneoperation mode to the other operation mode and executing the selectedoperation function corresponding to the selected operation mode. Besidesthe trigger switch 17, to provide the switch unit 34 can be easily readout the user desired operation mode and operation function to be set upinto each of the unit A, unit B and unit C from all of operation modesand operation functions stored into the memory unit 33. Further, sincetwo or more operations modes are set up and each set up mode has desiredoperation function, the user can use the bar code scanning device mainunit with the desired operation mode and operation function.

[0040] In the embodiment, the processing is performed for the binarizeddata provided by the binarization unit 32. In the invention, however,the specified function can also contain processing for data before beingbinarized or decoded. The invention can also be applied to processingfor a digitized signal, processing in the process of being digitized, orprocessing at the preceding stage of being digitized.

[0041] The figure is a schematic drawing and various types ofprocessing, instructions, and functions need not necessarily be switchedby hardware for connection. They may be provided by software processingin memory. For example, the memory unit 33 may retain user-specifiedfunctions or processing for providing each of the functions as aoperation table and a operation mode corresponding to a necessaryfunction may be called into the unit A, unit B and unit C in response tosetting.

[0042] For example, the memory unit 33 comprises ROM or E-PROM or thelike. The memory unit 33 memorizes each operation mode with referencetable to decide which operation mode has the relationship to each of theunit A, unit B and unit C. As the other function of the memory unit 33,the memory unit 33 can memorize the contents of the operation modes orthe processing contents to execute the operation modes. Further, it isalso preferred that the memory unit 33 has a memory part storing theoperation modes and another memory part storing the operation functionscorresponding to the operation modes separately. The memory unit 33 isshown in FIG. 8. In an example shown in FIG. 8, each of the unit A, unitB and unit C retains the selected operation mode or refers based on atable 44 and further each selected operation mode has several selectableoperation functions. The table 44 comprises a memory element like ROM tostore the selectable operation modes and the selectable operationfunctions corresponding to the selectable operation mode. An example ofcombination between each operation mode and operation function is shownin FIG. 9. The above mentioned combination between the operation modesand functions is memorized into the table 44. Each of the unit A, unit Band unit C is setup each of the selected operation modes with referringto the table 44 and further each selected operation mode is provided theselected operation function. Since the unit A, unit B and unit Ccomprises a memory element like E2PROM, the unit A, unit B and unit Cretain a position or address storing the selected function, in otherwords, the selected operation mode. When the selected modes is carriedout by using the switch unit 34, the selected unit A, unit B or unit Crefers to the table 44 and the selected operation mode corresponding tothe selected unit is read out by the switching the switch unit 34. Sinceeach of the selected operation modes has the selected operation functionby the user or a standard operation function if the user does not selectthe specified operation function, the operation function is carried outcorresponding to the selected operation mode. Thus, as solid arrow lineshown in FIG. 8, the operation mode setup the selected unit A, B or Cand the selected operation function corresponding to the selectedoperation mode are carried out. On the other hand, when the switching ofthe operation modes is carried out by the function switch, the selectedunit is changed to unit A, B and C in turn and the selected operationmode corresponding to the selected unit is carried out.

[0043] In case shown in FIG. 8, the unit A retains an operation mode A,the unit B retains an operation mode B and the unit C retains anoperation mode C. However, the combination between the unit andoperation mode as described to the above are not limited to the othertype of combination between the unit and operation mode. Further, it isalso preferred that the number of the units is increased or decreased.In the above mentioned case, the switching of the units A, B and C iscarried out in turn like toggle. However, the switching turn can be donewithout the restriction as the other method. Furthermore, since eachoperation mode is independent, the operation functions corresponding toeach operation mode can be overlap between the selectable operationmodes.

[0044] As shown in FIG. 9, as an example of the above mentioned system,the memory unit 33 of the bar code scanning device main unit memorizes“Standard mode”, “Multiple label read mode (Multi-1)”, “Multiple labelread mode (Multi-2)”, “Multiple label read mode (Multi-3)”, “Check mode(1:1 check)”, “Check mode (1:N check)”, “Autoscan mode” and “Test mode”as described to the below in a detail which are desired and selectableseveral basic reading functions corresponding to the bar code reading bythe user. The desired and selectable several basic reading functions areseveral operation modes and test mode. Desired operation modes from theabove all operation and test modes are selected by the user and thedesired and selected modes are retained into the unit A, B and Crespectively. There are several kinds of embodiments to be retained theoperation modes to the unit. For example, one preferred embodiment isthat prepared bar codes for selecting the operation modes, starting thesetup of the operation modes and completing the setup of the operationmodes are read out by the bar code scanning device. In detail, the barcodes corresponding to starting for setup the operation modes, theselected operation mode to be memorized into the unit A, the selectedoperation mode to be memorized into the unit B, the selected operationmode to be memorized into the unit C and completing for setup theoperation modes in turn are read out by the bar code scanning device. Onthe other hand, the other preferred embodiment is that a preparedsoftware for setting the operation modes and installed into a computerlike a personal computer is used by the user to select the operationmodes for the units A, B and C. Then after the user selects theoperation modes for the unit A, B and C, the selected information of theoperation modes are sent from the computer to the bar code scanningdevice main unit to be setup the selected operation modes to the unitsA, B and C. Further, as shown in FIG. 9, the memory unit 33 of the barcode scanning device main unit memorizes “Resending the previous scandata”, “Sending a setup arbitrary character scanning”, “Registration andcheck switching”, “Interlock release”, “Calibration” and “Mode shift” asdescribed to the below in a detail which are desired and selectableseveral operation functions corresponding to the operation modes. Eachof these operation functions can be operated corresponding to each ofthe operation modes except “Mode shift” function. Therefore, there areseveral kinds of the setup method of these operation functions. Forexample, one preferred embodiment is that the selectable operationfunctions corresponding the selected operation modes set up in the unitA, B and C can be selected “ON condition” or “OFF condition” on adisplay unit of the computer like a personal computer. On the otherhand, the other preferred embodiment is that prepared bar codes forstarting the setup of the operation functions, selecting “ON condition”or “OFF condition” of the operation functions and completing the setupof the operation functions are read out by the bar code scanning devicein turn. Further, when the a part of operation functions iscorresponding to several operation modes (for example, refer to“Standard mode”, “Multiple label read mode (Multi-2)” and “Multiplelabel read mode (Multi-3)” shown in FIG. 9) , it is prepared bar codesfor setting the desired operation functions corresponding to theseoperation modes having a common selectable operation functions and it iseasy and simply to set up the desired operation functions correspondingto the operation modes having the common selectable operation functionsexcept un-selectable operation functions by scanning the bar codesrelated to the selectable operation functions only. As it is descried tothe above, there are several kinds of setup methods of the operationmodes and functions. However, there is a method except the abovedescribed method to setup the operation modes and functions can beuseful to memorize the operation modes and functions in the presentinvention.

[0045] A bar code comprises an alternating pattern of bars of black,etc., which is low in reflectivity and blank portions of white, etc.,which has no print and is high in reflectivity for recording any desiredinformation consisting of alphanumerics, etc. The bar code is used in astate in which the bar code label 3 comprising the bar code printed on aseal, etc., is put on the object or in a state in which the bar code isprinted directly on the object. Alight beam of laser light, etc., isscanned over the bar code and reflected light is detected by the lightreception element of the light reception section, whereby the bar andspace widths of the bar code are measured. Then the analog signalprovided from the light reception section is decoded, whereby theinformation encoded in the bar code is read.

[0046] In the bar code scanning device main unit shown in FIG. 1, asignal read through the bar code read section 1 is binarizes and thebinarized signal is sent to the data processing unit 15. The dataprocessing unit 15 also serves as decode unit. The data processing unit15 performs necessary processing, such as decoding binarized data, etc.,and sends the decoded data to the external host computer. In the barcode read section 1, laser light projected from the projection unit 16and reflected on a bar code is gathered, only the light having a desiredband is allowed to pass through and is received on the light receptionelement. Then, a voltage signal responsive to the light reception amountis generated, and the voltage signal is binarized by the binarizationunit 32 to provide a binarized signal.

[0047] The light reception unit 29 receives reflected light of laserlight projected to and scanned over the bar code label 3 by the lightprojection unit 16. The received reflected light has the light amountresponsive to light and shade of the bar code label 3. The lightreception unit 29 outputs a voltage signal responsive to the lightreception amount. For example, in a light blank portion, a high voltagesignal is provided and in a dark bar portion, a low voltage signal isprovided. Thus, the light reception unit 29 receives the scatteredreflected light of the laser light projected to and scanned over the barcode label 3 and converts the received light into a voltage signal ofthe magnitude responsive to the light reception amount for output. Thevoltage signal generally is feeble and thus is hard to decode. Thus, thevoltage signal is usually amplified to a binarization-possible propervalue by the amplification unit 30. Based on the binarized signalprovided by the binarization unit 32, the data processing unit 15decodes the bar code and outputs the result. The processing ofbinarizing, decoding, etc., can use the currently known technology ortechnology developed in the future and therefore will not be discussedin detail.

[0048] FIGS. 7A-C shows the appearance of the main unit of a gun-typetabletop type or hand held bar code reader as a bar code scanningdevice. FIG. 7A is a plan view of the bar code reader. FIG. 7B is a sideview of the bar code reader. TheFIG. 7C is a rear view of the bar codereader. The bar code reader shown in FIGS. 7A-C comprises a head section21 and a handle 22 extended downward. The head section 21 is provided onthe front with a projection section 23. The handle 22 is formed fullywith pits and projections for the user to easily grasp the handle withone hand. A grip part 28 for preventing slip is disposed on the rear ofthe handle 22. To provide the slip prevention effect, preferably thegrip part 28 is made of rubber and is formed on the surface with aplurality of projections.

[0049] A trigger switch 17 is provided in the vicinity of the boundarybetween the handle 22 and the head section 21. The trigger switch 17 isplaced at a position where when the user takes hold of the handle 22, heor she can handle the trigger switch 17 with his or her forefinger ormiddle finger. The user pulls the trigger switch 17 like a trigger,whereby trigger unit is turned on and a trigger instruction istransmitted to the projection unit 16.

[0050] An LED display section 24 and a function switch 25 are placed onthe top of the head section 21. The function switch 25 is placed at aposition where when the user takes hold of the handle 22, he or she canhandle the function switch 25 with his or her thumb. The function switch25 is a pushbutton and can be turned on as the user presses thepushbutton from above with his or her thumb. When the function switch 25is pressed, the switch unit 34 is switched and the operation forproviding a predetermined function is executed. The function switch 25may use a button that can be turned on/off like a toggle or canceled asthe button is continuously pressed. The LED display section 24 isprovided for the user to check the operation state of the bar codereader, and represents the operation state in a predetermined color,blinking, etc. For example, if the function switch 25 is continuouslyturned on for a predetermined time, the color is changed. Further, aneffect sound, a voice guide may be added for enhancing the visualeffect.

[0051] Since the invention is characterized by the fact that the barcode reader is provided with one or more function switches 25 to whichany of functions can be assigned by user, the bar code reader is notlimited to the shape in the embodiment and the formerly used form or aform developed in the future can be used whenever necessary.

[0052] In the embodiment, the example in which only one function switch25 is provided as shown in FIGS. 7A-C is described, but the invention isnot limited to the example, needless to say. For example, two or morefunction switches may be provided and the placement position is notlimited to that in the embodiment. Various modes are possible in whichthe function switch is placed in parallel with a position on the rear ofthe bar code reader where the user handles the function switch with hisor her thumb, or the function switch is placed on a side of the headsection. The function switch may be placed in parallel downward orupward with the trigger switch so that a plurality of trigger-likeswitches are placed side by side, etc.

[0053] To assign any desired function to the function switch 25 by theuser, a setting bar code is read. A dedicated bar code label is providedfor each function. The user selects the setting bar code correspondingto the desired function from dedicated bar code labels. The selectedsetting bar code is then read through the bar code reader, wherebyautomatically the setting is changed. When the setting is changedcorrectly, the LED display section 24 blinks in blue, etc., fornotifying the user that the setting has been changed. This method hasthe advantage that the setting can be changed extremely easily.

[0054] Alternatively, the bar code reader is connected to a computerthrough a serial interface such as RS-232C for placing them in a statein which data communications can be conducted, and setting is made bysoftware in the computer. In this case, bar code reader setting softwareneeds to be previously built in the computer. The connection between thebar code reader and the computer, as shown in FIG. 3, can be done with acondition of scanning data which can be received and sent between theseor separately the bar code reader can be connected to the computer. Forexample, the connection between the bar code reader and the computer canbe used by an exclusive line.

[0055] Further, the connection interface between the bar code reader andthe computer is not limited to RS-232C, it can be useful a serialconnection, parallel connection like RS-422, IEEE1394, USB, Serial ATAor a network connection and optical connection like a 10BASE-T and100BASE-TX. Furthermore, the connection is not limited to a cabledconnection, it can be useful a radio wave or infrared light like awireless LAN or bluetooth. In these methods, since it is not necessaryfor the bar code reader to provide any kind of physical hardware like asection switch or dip switch for setting each operation mode andfunction, it can be provided a simple structure of the bar code readerwith reduction of the number of switch and restriction of themanufacturing cost of the bra code reader and it can be also reduced amechanical trouble related to inferior mechanical contacting andfrictional wear corresponding to mechanical movable points of the barcode reader. Especially, in case having a lot of selectable operationmodes and functions, since it is not necessary to provide a lot ofswitches LEDs or LCDs as display portions for confirming the setupoperation mode, operation function, the bar code reader can has a simpleand compact external form with multiple functions including theoperation modes and operation functions and the operation of the barcode reader can be simple.

Function Assigned To Function Switch

[0056] Any of various functions can be assigned to the function switch25 in response to the specifications and the use mode of the bar codereader to be used. The functions adopted in the embodiment will bedescribed later and switching each of the operation modes as thefunctions will be discussed with a flowchart. In the embodiment, aplurality of operation modes are preset in the bar code reader and theoperation modes are switched by operating the function switch 25 and anydesired functions are assigned to each operation mode. In theembodiment, the user previously specifies any desired three operationmodes A, B, and C of the plurality of operation modes. For example,standard mode is specified as the operation mode A, multiple label readmode is specified as the operation mode B, and 1:N check mode isspecified as the operation mode C.

[0057] In the embodiment, switching the operation mode and switching theoperation function in each operation mode are conducted with the samefunction switch 25. Therefore, the mode transition and the operationfunction execution are distinguished from each other depending on thetime of pressing the function switch 25.

Switching The Operation Mode

[0058] The operation mode transition is set depending on the time ofpressing the function switch 25. As shown in FIG. 2, if the pressingtime is, for example, within three seconds, the assigned operationfunction responsive to the current operation mode is executed.

[0059] If the pressing time of the function switch 25 becomes threeseconds or more, the operation mode transition state is entered. Forexample, when the pressing time is three to four seconds, the transitionis made to the operation mode A. When the pressing time is four to fiveseconds, the transition is made to the operation mode B. When thepressing time is five seconds or more, the transition is made to theoperation mode C. The user can check on the LED display section 24 thatthe operation mode has been switched. For example, when the functionswitch 25 is pressed for three seconds, the LED display section 24lights up in blue, enabling the user to check that the transition to theoperation mode A has been made. Likewise, the operation mode selected ateach point in time can be checked in such a manner that when thefunction switch 25 is pressed for four seconds, the LED display section24 lights up in yellow and that when the function switch 25 is pressedfor five seconds or more, the LED display section 24 lights up in red.Since they are taken as an example, the light color, the lightingmanner, lighting, blinking, blinking time change, interval can be setarbitrarily. Alternatively, the transition time can be shortened orprolonged, needless to say.

[0060] Alternatively, as another embodiment, the transition may be madefrom the current operation mode to the next operation mode like atoggle. If the function switch 25 is pressed for three seconds or more,the operation mode transition state is entered and the operation mode isautomatically switched to the next one each time when one second haselapsed like A to B to C to A to B to C. . . When the operation mode isswitched to any desired operation mode, if the user releases thefunction switch 25, the current switched operation mode, or the desiredoperation mode is selected.

[0061] The operation modes will be discussed generally.

Standard Mode

[0062] The standard mode is a mode of scanning over one bar code labelas one trigger. Therefore, when each bar code is read out, the datacorresponding to the read out bar code is output.

Multiple Label Read Mode

[0063] In contrast, the multiple label read mode is a mode of scanningover two or more bar code labels, in which case multiple bar code labelsare scanned and decoded as one trigger. Then, after the multiple barcode labels are scanned and decoded, the decoded data is output in alump. The multiple bar code label read mode has a plurality of kinds. Asa first type (Multi-1) of the multiple bar code label read mode, when aplurality of bar code labels are scanned with “On condition” of thetrigger switch, first bar code is scanned and a header is added in frontof the data corresponding to the read first bar code to be output. Then,after a second bar code is scanned, a separator character line is addedin front of the data corresponding to the second bar code to be output.Finally, when the trigger switch is “OFF condition”, the bar code readeris output a terminal as a signal to be complete the scan. In the abovemethod, a space between the data and the next data become longer.However, it can be output the multiple bar code label as a series ofdata at the same time. Further, in case of a second type (Multi-2) ofthe multiple bar code label read mode, it can be scanned a plurality ofbar code labels under “On condition” of the trigger switch and be outputthe decoded data. A different point of the second type (Multi-2) fromthe first type (Multi-1) is that the second type does not outputimmediately and stores at once after the scanning of a plurality of thebar code labels. The number of stored data is predetermined and when thestored number of the data becomes the predetermined number or thetrigger switch is “OFF condition” from “ON condition”, all of the storeddata are output at the same time. Furthermore, in case of a third type(Multi-3) of the multiple bar code label read mode, it can be scannedthe predetermined kind of a bar code under “ON condition” of the triggerswitch. When the trigger switch is “OFF condition” from “ON condition”,the scanned data is output at the same time with a predetermined dataturn instead of the scanned data turn. The third type is useful forscanning a plurality of different types of bar codes. The kinds anddigit number of bar codes read out by the bar code reader should bepredetermined prior to scan.

1:N Check Mode

[0064] In the 1:N check mode, usually only the check operation isperformed. Initially, the registration operation is performed forreading the data of the bar code label of the check source (that is, thebar code label to be checked) and storing the data as registered data.In the later scanning, whether or not each read data piece is the sameas the registered data is checked. The registered data can also beupdated whenever necessary as described later (registration/check switchoperation). In the check mode, only the check result of true or false isoutput and in addition, the three types of data of the registered data,the checked data, and the check result data can also be output at thesame time depending on the use mode. This mode is useful that thescanned bar code label is the same to the registered data of the barcode label whether or not to check the different product having thedifferent bar code label as an alien substance in the product having theregistered bar code label in the manufacturing line or the like.

1:1 Check Mode

[0065] In the 1:1 check mode, the check operation and the registrationoperation are repeated alternately. Initially, the registrationoperation is performed for reading the data of the bar code label of thecheck source and storing the data as registered data, and then the checkoperation is performed like those in the 1:N check mode. After suchoperations, the operation returns to the registration operation forupdating the registered data. This means that the registered data of thecheck source is updated each time the check operation is performed.Therefore, the mode is useful to check with one to one that the scannedbar code label is the same to the registered bar code label whether ornot to compare a bar code label on a payment slip with a bar code labelof the corresponding product. In the 1:1 check mode, the check operationand the registration operation are repeated alternately in such a mannerthat the scanning at the odd'th time is the registration operation andthe scanning at the even'th time is the check operation. However, iferroneous registration or check is made, again the same operation can berepeated (registration/check switch operation) as described later.Further, In additional function to the above case comparing the all databetween the registered bar code label and the checked bar code label,there is another check function to compared a specified digit number ofthe registered bar code label with the same specified digit number ofthe scanned bar code label only. In case of the restriction of thespecified digit number as the above described, the predeterminedspecified digit number is setup to the registered bar code and thescanned bar code.

Test Mode

[0066] In the test mode, the bar code label quality and the readperformance of the bar code reader main unit are tested. For example,the test is conducted in a such a manner that scanning is performed 100times and the number of times the bar code has been read normally ismeasured. Thus, it can be confirmed that the scanning operation of thebar code reader is stable whether or not by checking the scanningsuccess ratio.

Interval Scan (Automatic Consecutive Read) Mode

[0067] In normal scanning, the trigger switch 17 is operated forscanning. In the interval scan mode, however, a beam is projected andconsecutive scanning can be performed at given time intervals withouthandling the trigger switch 17. The interval scan mode is useful forconsecutively scanning a plurality of bar codes.

Autoscan (Automatic Detection Read) Mode

[0068] In the autoscan mode, if the user does not operate the trigger,when a sensor, etc., detects a bar code at the read position of the barcode reader, automatically scanning is performed. Since it is notnecessary to operate the trigger switch and it is possible to use thebar code reader main unit with a stand to fix on the predeterminedposition, it is not necessary for the user to hold the main unit.Further, since the laser beam for scanning the bar code label is workedas a sensor for detecting the bar code label existence at apredetermined position, the scanning of the bar code label is startedautomatically corresponding to the detection of the bar code label atthe predetermined position.

Operation Function Assignment To Function Switch

[0069] In the described operation modes, the user can assign a separateoperation function to each operation mode. A common operation functioncan also be assigned independently of the operation mode. As the methodof assigning any desired operation function to the function switch 25 ofthe bar code reader by the user, the method of scanning over the settingbar code as described above or the method of externally entering aninstruction in the bar code reader through RS-232C, etc., is available.The operation functions to be assigned are, for example, as follows:Further, each of the operation functions described hereinafter is anadditional function to improve the bar code reader function at eachmode.

[0070] 1. Operation mode transition

[0071] As the function switch 25 is pressed, the operation mode isswitched. In this case, the function switch 25 functions only as anoperation mode changeover switch independently of the pressing time ofthe function switch 25. When this operation mode switching is carriedout, the function switch 25 is operated as the operation mode selectionswitch to select the desired operation mode from among the registeredoperation modes in the memory unit 33.

[0072] 2. Trigger switch

[0073] In addition to the original trigger switch 17, the same functionas the trigger switch 17 can also be assigned to the function switch 25.In this case, it is made possible to operate the trigger from either thetrigger switch 17 or the function switch 25. As another embodiment, theoriginal trigger switch 17 can also be made to function as a functionswitch to which a function can be assigned. In this case, as a rule, anyone of the two or more function switches is provided with the functionof the trigger switch. For example, in FIGS. 7A-C, the function switch25 is used as the trigger switch and another function is assigned to thetrigger switch 17 so that the operation functions of the switches can bereplaced for use.

[0074] 3. Data transmission start trigger

[0075] Usually, when the bar code reader reads data, automatically theread data is transmitted. However, Transmitting the data can also beprevented until an instruction to transmit data is given. In this case,the data is not transmitted until a data transmission start trigger isentered. Thus, when the function switch 25 is operated and a datatransmission start trigger is entered, the data is transmitted. In otherwords, the read data is not transmitted unless the function switch 25 ispressed. This operation function can be used to check data, select datato be not transmitted, etc. For example, if data to be not transmittedis scanned by mistake, desired data is again read and then the functionswitch 25 is pressed for transmitting the data.

[0076] 4. Resending the previous scan data

[0077] This function is to resend the same data as the previously readscan data. It is a convenient function for the case where it isnecessary to scan over the same type of commodity more than once. Forexample, if more than one commodities of the same type are purchased ina convenience store, etc., the function switch 25 may be pressed as manytimes as the number of the commodities without repeating scanning. Inthe present embodiment, as shown in FIG. 9, this function;“Resending theprevious scan data” can be selectable operation function, when the userselects and memorizes either “Standard mode”, “Multiple label readmode(Multi-2)” or “Multiple label read mode (Multi-3)”.

[0078] 5. Sending a setup arbitrary character string

[0079] This operation function is to transmit a predetermined characterstring preset by the user. For example, often used commodity data isstored or presetting is made so as to perform predetermined operationwhen the host computer or application software receives a predeterminedcharacter string, and the operation function can be used as a startcondition. The preset of the character string is carried out by theabove described preset bar code or the computer connected to the barcode reader. In this embodiment, as shown in FIG. 9, this function;“Sending a setup arbitrary character string” can be selectable operationfunction, when the user selects and memorizes either “Standard mode”,“Multiple label read mode(Multi-2)” or “Multiple label read mode(Multi-3)”. Further, when the function key 25 is only one as shown inthis embodiment and the user selects the operation function; “Resendingthe previous scan data” as the selected operation function to thefunction key 25, the user can not use this operation function; “Sendinga setup arbitrary character string” at the same time.

[0080] 6. Registration and check switch in 1:N check mode

[0081] This function is to switch between the registration operation andthe check operation in the 1:N check mode described above. As describedabove, in the 1:N check mode, basically only the check operation of theread data against the registered data is performed. However, to updatethe registered data of the check source, the operation function can beused to make the transition to the registration operation. In this case,if the function switch 25 is pressed, the check operation is switched tothe registration operation.

[0082] 7. Registration and check switch in 1:1 check mode

[0083] This function is to switch between the registration operation andthe check operation in the 1:1 check mode described above. As describedabove, in the 1:1 check mode, the registered data of the check sourceand the read data change each time and thus the registration operationand the check operation are repeated alternately. However, if theregistration or check operation is erroneous or unnecessary data isscanned or the user does not want to perform the registration or checkoperation on the next data, the user might want to repeat the sameoperation once more. If the operation function is used in such a case,switching is not conducted between the registration operation and thecheck operation and the same operation as the previous operation isrepeated, so that desired scanning can be again performed. Since thefunction can be used to again register the registered data from thebeginning, it can also be called registration/check operation temporarycancel function. The function differs from the function of registrationand check switch in 1:N check mode described above in which a returnoperation is made to after the check operation.

[0084] 8. Interlock release function in 1:N check mode

[0085] Usually, every read data is automatically transmitted and theoperation of read, transmission, etc., at the next stage is notinterrupted. When an error of check NG, etc., occurs, the interlockfunction is to lock the operation for disabling the later operation ofread, etc., until the lock is released.

[0086] When interlock is not applied, if an error or trouble occurs inread, it does not interfere with the operation itself of the bar codereader and the operation is continued. Thus, if an error occurs, theuser is not aware of it or easily overlooks it. If interlock is applied,when anomaly occurs, immediately the trigger does not work and thususer's attention can always be called to the anomaly. On the other hand,at the interlock operation time, the interlock mode needs to be releasedto restart the operation. The operation function plays a role of arelease key. If the function switch 25 assigned the operation functionis pressed, the interlock mode is released.

[0087] 9. Interlock release function in 1:1 check mode

[0088] The interlock release function when the interlock operation isperformed in the 1:1 check mode is assigned in a similar manner to thatdescribed above.

[0089] 10. Switch to autoscan

[0090] So-called hand-free operation mode of automatically projectinglight of a laser, etc., rather than the normal operation of operatingthe trigger switch 17 by the user taking hold of the bar code readerincludes autoscan of detecting a bar code and starting scanning,interval scan of repeating scanning at predetermined time intervals asdescribed above, and the like. The switch to autoscan functions as aswitch for turning on/off such autoscan operation.

[0091] 11. Calibration trigger in autoscan mode

[0092] This operation function is to measure the reflected light amountin a state in which no bar code exists and calibrate so as to makepossible reading in the optimum state. In the autoscan mode, the readobject is placed at the scan position of the bar code reader, wherebythe presence or absence of a bar code is detected by a sensor, etc., andscanning is started. Therefore, to check the presence of a read object,it is necessary to previously measure the reflected light amount when noread object exists, namely, when only the background exists. Theoperation function is to execute calibration with the reflected lightamount on the background as the reference to calibrate the measurementreference value. When the function switch 25 setup to calibrationtrigger mode is pressed without any bar code, the execution of thecalibration (gain teaching) is informed by either sound by a buzzer orlighting of LED display. When the calibration is started, it is executedan sensitivity adjustment by a detection of the background reflectionratio. The adjusted sensitivity value is stored. In general, it becomeshigher scanning ratio corresponding to larger difference of thesensitivity between the scanned bar code label and the background.During the calibration, the LED display is light-on. When thecalibration is completed, the buzzer makes sound and the LED display islight-off.

[0093] 12. Setting bar code read trigger of bar code reader

[0094] To change the function assignment to the function switch 25 orany other bar code reader setting, various means for externallyinputting through RS-232C, etc., are available. The method of reading adedicated setting bar code, thereby changing to any desired setting iseasy and convenient. In this case, it is necessary to distinguish usualbar code read from setting bar code read of bar code reader. Theoperation function is a trigger to start the setting bar code read. Toavoid trouble of changing setting if a general bar code and a settingbar code are the same, the usual scan mode and the setting bar code scanmode are switched explicitly.

[0095] However, it is also possible to automatically switch to thesetting bar code scan mode if a setting bar code is read. In this case,the code type, the number of characters, etc., of a setting bar code isspecified for distinguishing the setting bar code from a general barcode. Further, for example, LED display, a voice guide, an effect sound,etc., informs the user that the usual scan mode has been switched to thesetting bar code scan mode.

Operation Functions That Can Be Set In Operation Modes

[0096] The described operation functions are classified into those thatcan be set in the operation modes, those effective only for apredetermined operation mode, and common operation functions setindependently of the operation mode. In FIG. 9, it is described onepreferred example of the correspondence between the operation modes andthe operation functions. However, the other examples of thecorrespondence between the operation modes and the operation functionsthat can be assigned thereto are given below:

[0097] The operation functions of operation mode transition, setting barcode read trigger of bar code reader, etc., can be assigned to theoperation modes as common operation functions.

[0098] The standard mode can be assigned the functions of datatransmission start trigger, resending the previous scan data, sending asetup arbitrary character string, etc. In addition, it may be assignedthe trigger function.

[0099] The multiple label read mode can also be assigned the functionsof data transmission start trigger, resending the previous scan data,sending a setup arbitrary character string, etc. In addition, it may beassigned the trigger function.

[0100] The 1:N check mode can be assigned the functions of registrationand check switch in 1:N check mode, interlock release function in 1:Ncheck mode, etc. In addition, it may be assigned the trigger function.

[0101] The 1:1 check mode can be assigned the functions of registrationand check switch in 1:1 check mode, interlock release function 1:1 checkmode, etc. In addition, it may be assigned the trigger function.

[0102] In the embodiment, the test mode is not assigned a particularfunction. It may be assigned the trigger function and/or the modetransition.

[0103] The interval scan mode can be assigned the functions of intervalscan on/off switch, etc.

[0104] The autoscan mode can be assigned the functions of autoscanon/off switch, calibration trigger in autoscan mode, etc.

[0105] The operation functions are stored in the memory unit 33 withwhich the bar code reader is provided as a table in response to thepressing time of the function switch 25, the operation mode, etc. Thetable is referenced in response to each operation mode for calling anydesired operation function and the operation function is executed.

[0106] Of course, the operation functions can be assigned arbitrarilyand it is also possible to assign no operation function as specified bythe user. In this case, if the function switch 25 is operated, nooperation is performed. On the other hand, it is also possible to assigna common operation function to some or all of the operation modes.Further, it is also possible to set only one or two operation modes orfour or more operation modes and it is also possible to assign anoperation function to the function switch 25 only in a specificoperation mode.

[0107] FIGS. 2 to 5 are flowcharts to show an operation flow examplewhen the function switch 25 is pressed. Here, it is assumed that theoperation modes A, B, and C and the operation function assignment to thefunction switch 25 in response to each operation mode are set by theuser according to the embodiment described above. As shown in FIG. 2, atS1, the pressing time of the function switch 25 is measured and the stepto which the process jumps is determined in response to the pressingtime. If the pressing time exceeds five seconds, the process goes to S6through S2, S3, S4, S5 and the operation mode makes the transition tothe mode C. At S6 to S12, the transition is made to a predeterminedoperation mode in accordance with which operation mode the mode C is setto.

[0108] On the other hand, when the pressing time is between four andfive seconds, S4 returns YES and the process jumps to S6′. In this case,the operation mode makes the transition to the mode B and thus thecontents of the mode B preset by the user are referenced in the memoryunit 33 in a similar manner to that described above and at S6′ to S12′,the transition is made to the corresponding operation mode.

[0109] When the pressing time is between three and four seconds, in FIG.2, S3 returns YES and the process jumps to S4″ in FIG. 3. In theprocess, the operation mode makes the transition to the mode A and thusthe contents of the mode A set by the user are referenced in the memoryunit 33 in a similar manner to that described above and at S4″ to S10″,the transition is made to the corresponding operation mode.

[0110] Further, when the pressing time of the function switch 25 isshorter than three seconds, no operation mode transition is made and theassigned operation function in response to the current operation mode isexecuted. In FIG. 2, S2 returns YES and the process jumps to S13 in FIG.4. At S13 to S19, the current operation mode is checked. At S20 to S37shown in FIGS. 4 and 5, which of the operation functions that can be setin response to each operation mode is selected is determined and theselected operation function is executed.

[0111] In the flowcharts, whether or not the correspondence is appliedis determined for all operation modes and operation functions. However,only preset operation modes and the operation functions responsive toeach operation mode may be programmed and the assigned operationfunction may be executed in response to the pressing time of thefunction switch 25.

[0112] The optical information reader and the optical informationreading method according to the present invention have the advantagethat the desired operation function can be called by performing simpleoperation. That is why the optical information reader and the opticalinformation reading method comprise the switch unit for enabling theuser to assign any desired operation function. Particularly, the usercan call any desired preset function simply by pressing the functionswitch placed on the bar code reader main unit, so that the user canconveniently use the bar code reader fitted for the use mode of theuser. If the operation function assigned to the switch is fixed as inthe related art, the bar code reader can cover only a single use modeand cannot cover any other function if the operation function isrequired. The invention provides the environment in which the user canassign the optimum operation function as desired in response to the usemode, thereby increasing the convenience of the user.

What is claimed is:
 1. An optical information reader of a tabletop typecomprising: a projection unit for projecting light to a read object; atrigger unit for instructing said projection unit for projecting light;a decode unit for receiving reflected light from the read object anddecoding information contained in the read object; a memory unit forstoring at least one preset function that can be set in said opticalinformation reader; a switch unit for calling the function to be set;and a data processing unit for performing processing corresponding tothe function to be set called by said switch unit.
 2. The opticalinformation reader as claimed in claim 1, wherein said said dateprocessing unit processes the decoded data provided by said decode uniton the basis of the processing corresponding to the function to be set.3. The optical information reader as claimed in claim 1, wherein saidmemory unit stores at least one operation mode as a function fordetermining an operation state of said optical information reader. 4.The optical information reader as claimed in claim 3, wherein saidoperation mode is provided at least two in said memory unit and isselected to execute the selected one operation mode.
 5. The opticalinformation reader as claimed in claim 3, wherein each of said operationmodes is able to select an operation function that is able to store insaid memory unit.
 6. The optical information reader as claimed in claim5, wherein memory unit memorizes selectable operation functionscorresponding to each of all operation modes and the said switch unitexecutes one of said selectable operation functions.
 7. The opticalinformation reader as claimed in claim 6, wherein said switch unit isable to distinguish between said execution of said operation functionsand said selection of operation modes.
 8. An optical information readingmethod using an optical information reader having a projection unit, atrigger unit, a memory unit and a switch unit, said comprising:selecting at least one function that can be set in the opticalinformation reader and storing the selected function in the memory unit;projecting light to a read object from the projection unit in responseto an instruction of the trigger unit; receiving reflected light fromthe read object and decoding information contained in the read object;calling said selected operation function from the memory unit by theswitch unit; and performing processing corresponding to the function tobe set called by the switch unit.
 9. The optical information readingmethod as claimed in claim 8, wherein the processing corresponding tothe function to be set is performed to the decoded data.
 10. The opticalinformation reading method as claimed in claim 8, further comprising:storing at least one operation mode for determining an operation stateof the optical information reader in the memory unit.
 11. The opticalinformation reading method as claimed in claim 10, wherein the functionsare related to the operation modes and stored in the memory unit. 12.The optical information reading method as claimed in claim 8, furthercomprising: reading a setting bar code provided for the function thatcan be set in the optical information reader so that the read functionis stored in the memory unit.
 13. The optical information reading methodas claimed in claim 8, further comprising: connecting the opticalinformation reader to a computer and providing the function that can beset in the optical information reader by software in the computer. 14.An optical information reader comprising: a projection unit forprojecting light to a read object; a trigger unit for ordering saidlight projecting to said projection unit; a decode unit for receivingreflected light from said read object and decoding information containedin the read object; a data processing unit for processing a datacorresponding to said decoded information and decoded by said decodeunit; a memory unit for setting up at least one operation mode todetermining an operation state of said optical information reader andfor providing selectable operation function corresponding to each ofsaid operation mode; an operation mode switching means for selectingsaid operation mode setup into said memory unit; and an switching meansfor executing said selected operation function corresponding to theselected operation mode and provided from said trigger unit separately.15. The optical information reader as claimed in claim 14, wherein saidswitching means is the same to said operation mode switching means andsaid switching means is able to execute the selected operation functionand transmit between a plurality of said operation modes.
 16. Theoptical information reader as claimed in claim 15, wherein an executionof said switching means corresponding to execution of the selectedoperation function and said operation mode transition is distinguishedbased on different pressed time of said switch means each other.
 17. Theoptical information reader as claimed in claim 16, wherein when saidpressed time of said switching means is shorter than a predeterminedtime, the present selected operation function is executed, and when saidpressed time of said switching means is longer than said predeterminedtime, the present selected operation mode is changed in turn.
 18. Theoptical information reader as claimed in claim 17, wherein said memoryunit memorizes said selectable operation function by a table storingsaid selectable operation functions or processes to execute saidselectable operation functions.
 19. An operation method of an opticalinformation reader having a switching means for providing a desiredoperation function and executing said provided operation function, saidmethod comprising: a setup step for setting at least one operation modeto determine an operation state of said optical information reader; aproviding step for providing a selectable operation functioncorresponding to said operation mode; a selection step for selectingsaid operation mode by said switching means; and an executing step forexecuting said provided operation function corresponding to saidselected operation mode.
 20. An operation method of an opticalinformation reader having a switching means for setting an operationmode from all of registered operation modes to decide an operation stateof said optical information reader, providing a desired operationfunction corresponding to said set operation mode and executing saidprovided operation function, said method comprising: a setup step forsetting at least one operation mode to determine an operation state ofsaid optical information reader based on a first predetermined pressedtime of said switching means; a providing step for providing aselectable operation function corresponding to said operation mode; aselection step for selecting said operation mode by said switchingmeans; and an execution step for executing said provided operationfunction corresponding to said selected operation mode based on a secondpredetermined pressed time being different from said first predeterminedpressed time.